<li>
    <a href="/" class="{{$_index or ''}}"><span class="am-icon-home"></span> 首页</a>
</li>
<li>
    <a href="/category" class="{{$_category or ''}}">
        <span class="am-icon-list-alt"></span> APP菜单
            <span class="am-badge am-badge-warning am-margin-right am-fr am-radius">
                {{ \App\Model\Category::where('parent_id','!=',0)->count() }}
            </span>
    </a>
</li>
<li>
    <a href="/hotelreferral" class="{{ $_hotel or '' }}">
        <span class="am-icon-th-list"></span> 菜单编辑
            <span class="am-badge am-badge-secondary am-margin-right am-fr am-radius">
                {{ \App\Model\HotelReferral::count() }}
            </span>
    </a>
</li>


<li>
    <a href="/main" class="{{$_main or ''}}">
        <span class="am-icon-graduation-cap"></span> 主页背景
    </a>
</li>

<li class="admin-parent ">
    <a class="am-cf" ;
       data-am-collapse="{parent: '#menus', target: '#collapse-shop'}">
        <span class="am-icon-caret-square-o-right"></span>
        VOD视频 <span class="am-icon-angle-right am-fr am-margin-right"></span>
    </a>


    <ul class="am-list am-collapse admin-sidebar-sub {{ $_xHotel or '' }}" id="collapse-shop">
        <li>
            <a href="/video" class="am-cf {{ $_menu or '' }}   ">
                <span class="am-icon-th-list"></span> 视频列表
                <span class="am-badge am-badge-warning am-margin-right am-fr am-radius">
                    {{ \App\Model\Video::count() }}
                </span>
            </a>
        </li>

        <li>
            <a href="/video/create" class="am-cf {{ $_video_create or '' }}   ">
                <span class="am-icon-plus-square"></span> 添加新视频
                <span class="am-icon-star am-fr am-margin-right admin-icon-yellow">

                </span>
            </a>
        </li>

        <li>
            <a href="/video/add_local" class="am-cf {{ $_video_add_local or '' }}   ">
                <span class="am-icon-plus-square"></span> 添加本地视频
                <span class="am-icon-star am-fr am-margin-right admin-icon-yellow">

                </span>
            </a>
        </li>

        <li>
            <a href="/video/youku_video_list" class="am-cf {{ $_video_add or '' }}   ">
                <span class="am-icon-plus-square"></span> 添加网络视频
                <span class="am-icon-star am-fr am-margin-right admin-icon-yellow">

                </span>
            </a>
        </li>

        <li>
            <a href="/videoCategory" class="am-cf {{ $_video_category or '' }}   ">
                <span class="am-icon-list-alt"></span> 视频分类

            </a>
        </li>

    </ul>
</li>
<li class="admin-parent ">
    <a class="am-cf";
       data-am-collapse="{parent: '#menus', target: '#collapse-shop4'}">
        <span class="am-icon-coffee"></span>
        点餐管理 <span class="am-icon-angle-right am-fr am-margin-right"></span>
    </a>
    <ul class="am-list am-collapse admin-sidebar-sub {{ $_xProduct or '' }}" id="collapse-shop4">
        <li>
            <a href="/product" class="am-cf {{ $_product or '' }}">
                <span class="am-icon-list-alt"></span> 客房点餐
            </a>
        </li>
        <li>
            <a href="/order" class="am-cf {{ $_order or '' }}">
                <span class="am-icon-list-alt"></span> 订单管理
            </a>
        </li>
    </ul>
</li>
<li class="admin-parent ">
    <a class="am-cf";
       data-am-collapse="{parent: '#menus', target: '#collapse-shop2'}">
        <span class="am-icon-user"></span>
        房间用户 <span class="am-icon-angle-right am-fr am-margin-right"></span>
    </a>


    <ul class="am-list am-collapse admin-sidebar-sub {{ $_xMem or '' }}" id="collapse-shop2">
        <li>
            <a href="/room" class="am-cf {{ $_room or '' }}   ">
                <span class="am-icon-list-alt"></span> 房间信息
            </a>
        </li>
        <li>
            <a href="/member" class="am-cf {{ $_member or '' }}   ">
                <span class="am-icon-user-secret"></span> 入住用户
            </a>
        </li>


    </ul>
</li>
<li class="admin-parent ">
    <a class="am-cf";
       data-am-collapse="{parent: '#menus', target: '#collapse-shop3'}">
        <span class="am-icon-cog"></span>
        系统管理 <span class="am-icon-angle-right am-fr am-margin-right"></span>
    </a>
    <ul class="am-list am-collapse admin-sidebar-sub {{$_xSystem or ''}}" id="collapse-shop3">
        <li>
            <a href="/password/edit" class="am-cf {{$_password or ''}}">
                <span class="am-icon-list-alt"></span> 修改密码
            </a>
        </li>
        <li>
            <a href="/app/1/edit" class="am-cf {{$_xApp or ''}}">
                <span class="am-icon-list-alt"></span> APP升级管理
            </a>
        </li>
    </ul>
</li>

<li class="admin-parent ">
    <a class="am-cf";
       data-am-collapse="{parent: '#menus', target: '#collapse-shop1'}">
        <span class="am-icon-bank"></span>
        Api文档 <span class="am-icon-angle-right am-fr am-margin-right"></span>
    </a>


    <ul class="am-list am-collapse admin-sidebar-sub {{ $_xApi or '' }}" id="collapse-shop1">
        <li>
            <a href="/api/getHotelreferralList?token={{$_token}}" class="am-cf {{ $_api or '' }}   ">
                <span class="am-icon-list-ol"></span> 分类详情
            </a>
        </li>
        <li>
            <a href="/api/getCategoryList?token={{$_token}}" class="am-cf {{ $_api_cate or '' }}   ">
                <span class="am-icon-list-ol"></span> 分类信息
            </a>
        </li>

        <li>
            <a href="/getRoomList" class="am-cf {{ $_api_room or '' }}   ">
                <span class="am-icon-list-ol"></span>房间号信息
            </a>
        </li>

        <li>
            <a href="/api/getDeviceList?token={{$_token}}" class="am-cf {{ $_api_device or '' }}   ">
                <span class="am-icon-list-ol"></span>录入设备信息
            </a>
        </li>
        <li>
            <a href="/api/getRoom?token={{$_token}}" class="am-cf {{ $_api_username or '' }}   ">
                <span class="am-icon-list-ol"></span>获取入住用户信息
            </a>
        </li>

        <li>
            <a href="/api/getVideoCategoryList?token={{$_token}}" class="am-cf {{ $_api_video_cat or '' }}   ">
                <span class="am-icon-list-ol"></span>获取视频分类
            </a>
        </li>
        <li>
            <a href="/api/getVideoList?token={{$_token}}" class="am-cf {{ $_api_video or '' }}   ">
                <span class="am-icon-list-ol"></span>获取视频信息
            </a>
        </li>

        <li>
            <a href="/api/setVideoAdd?token={{$_token}}" class="am-cf {{ $_api_video_add or '' }}   ">
                <span class="am-icon-list-ol"></span>添加视频信息
            </a>
        </li>
        <li>
            <a href="/api/setPlayAddress?token={{$_token}}" class="am-cf {{ $_api_play_address or '' }}   ">
                <span class="am-icon-list-ol"></span>获取播放地址
            </a>
        </li>

        <li>
            <a href="/api/getAppList?token={{$_token}}" class="am-cf {{ $_api_app_list or '' }}   ">
                <span class="am-icon-list-ol"></span>获取APP升级信息
            </a>
        </li>

        <li>
            <a href="/api/setDemand?token={{$_token}}" class="am-cf {{ $_api_app or '' }}   ">
                <span class="am-icon-list-ol"></span>设置点播次数
            </a>
        </li>
        <li>
            <a href="/api/getOrderList?token={{$_token}}" class="am-cf {{ $_api_order_list or '' }}   ">
                <span class="am-icon-list-ol"></span>设置点餐信息
            </a>
        </li>

    </ul>
</li>


